package com.example.work.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.work.entity.TbCheckGrade;
import com.example.work.mapper.TbCheckGradeMapper;
import com.example.work.service.IGradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**

 */
@Service("gradeService")
public class IGradeServiceImpl extends ServiceImpl<TbCheckGradeMapper, TbCheckGrade> implements IGradeService {

    @Autowired
    private TbCheckGradeMapper tbCheckGradeMapper;


    @Override
    public boolean updateGradeById(TbCheckGrade tbCheckGrade) {
        // 调用 BaseMapper 的 updateById 方法
        return this.updateById(tbCheckGrade);
    }
}
